﻿using Sidvall.Serialization;
using System;
using System.Globalization;

namespace Sidvall.UI.Wpf.Converters
{
    public class Int64ToStringConverter : ValueToStringConverterBase
    {
        #region Public Members

        #region StringToValue

        protected override object StringToValue(object value, Type targetType, object parameter, CultureInfo culture)
        {
            return value.ToNullableInt64(NumberStyles.Any, culture);
        }

        #endregion

        #endregion
    }
}
